<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Slistadmin/index')}">设备明细</a></li>
			<li class="active"><a href="{:U('Slistadmin/add',array('term'=>empty($term['term_id'])?'':$term['term_id']))}" target="_self">{:L('EDIT')}</a></li>
		</ul>
		
			<form method="post" class="form-horizontal js-ajax-form" action="{:U('Slistadmin/edit_post')}">
					<fieldset>
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">{:L('SBLB')}</label>
									<div class="controls">
									<select name="sblb" class="form-control" value="{$sbinfo.sblb}">
										<option value="{$sbinfo.sblb}" selected="selected">{$sbinfo.sblb}</option>
										<volist name="gtype" id="vo">
										<option value="{$vo.type_name}">{$vo.type_name}</option>
										</volist>                                 
									</select>
									</div>								
								</div>
							</div>
							<div class="span6">
								<div class="control-group">
								<label class="control-label">{:L('SYDW')}</label>
								<div class="controls">
								<select name="sydw" class="form-control">
									<option value="{$sbinfo.sydw}" selected="selected">{$sbinfo.sydw}</option>
									<volist name="gjg" id="vo">
									<option value="{$vo.jg_name}">{$vo.jg_name}</option>
									</volist>                                 
								</select>
								</div>	
								</div>
							</div>
						</div>
						
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">{:L('SBXH')}</label>
									<div class="controls">
										<input type="text" name="sbxh" value="{$sbinfo.sbxh}">
									</div>
								</div>
							</div>
							<div class="span6">	
								<div class="control-group">
									<label class="control-label">{:L('SBSN')}</label>
									<div class="controls">
										<input type="text" name="sbsn" value="{$sbinfo.sbsn}">
									</div>
								</div>
							</div>
						</div>	
						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">{:L('SBPP')}</label>
									<div class="controls">
										<input type="text" name="sbpp" value="{$sbinfo.sbpp}">
									</div>
								</div>
							</div>
							<div class="span6">	
								<div class="control-group">
									<label class="control-label">{:L('SBYZ')}</label>
									<div class="controls">
										<input type="text" name="sbyz" value="{$sbinfo.sbyz}">
									</div>
								</div>
							</div>	
						</div>	
						<!--<div class="row">
							<div class="span6">	
								<div class="control-group">
									<label class="control-label">{:L('GZRQ')}</label>
									<div class="controls">
									<input type="text" class="js-date" id="input-gzrq" placeholder="2016-01-01"  name="gzrq" value="{$sbinfo.gzrq}">
									</div>
								</div>
							</div>
							<div class="span6">	
								<div class="control-group">
									<label class="control-label">{:L('WHRQ')}</label>
									<div class="controls">
										<input type="text" class="js-date" id="input-whrq"        placeholder="2016-01-01"  name="whrq" value="{$sbinfo.whrq}">
									</div>
								</div>
							</div>
						</div>-->		
						<div class="row">
							<div class="span6">	
									<div class="control-group">
										<label class="control-label">{:L('SBWHR')}</label>
										<div class="controls">
											<input type="text" name="sbwhr" value="{$sbinfo.sbwhr}">
										</div>
									</div>
							</div>	
							<div class="span6">	
									<div class="control-group">
										<label class="control-label">{:L('LYR')}</label>
										<div class="controls">
											<input type="text" name="lyr" value="{$sbinfo.lyr}">
										</div>
									</div>
							</div>		
						</div>						

						<div class="row">	
							<div class="span6">		
								<div class="control-group">
									<label class="control-label">{:L('SBZT')}</label>
									<div class="controls">								
										<select name="sbzt" class="form-control">
										<option value="{$sbinfo.sbzt}" selected="selected">{$sbinfo.sbzt}</option>						
										<option value="正常">正常</option>
										<option value="故障">故障</option>  
										<option value="报废">报废</option>     
										</select>	
									</div>
								</div>
							</div>	
							<div class="span6">
								<div class="control-group">
									<label class="control-label">{:L('CFDD')}</label>
									<div class="controls">
										<input type="text" name="cfdd" value="{$sbinfo.cfdd}">
									</div>
								</div>
							</div>	
						</div>

						<div class="row">
							<div class="span6">
								<div class="control-group">
									<label class="control-label">IP地址</label>
									<div class="controls">
										<input type="text" name="ipadd" value="{$sbinfo.ipadd}">			
									</div>
								</div>
							</div>	
							<div class="span6">
								<div class="control-group">
									<label class="control-label">备注信息</label>
									<div class="controls">
										<input type="text" name="addon" value="{$sbinfo.addon}">
									</div>
								</div>
							</div>	
						</div>												
					</fieldset>
					<div class="form-actions">
						<button type="submit" class="btn btn-primary js-ajax-submit">{:L('SUBMIT')}</button>
						<a class="btn" href="{:U('Slistadmin/index')}">{:L('BACK')}</a>
					</div>
					<input type="hidden" name="id" value="{$sbinfo.id}" />
				</form>
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>